
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;


public class TestMain {

    private static Log log = LogFactory.getLog(TestMain.class);

    private static  Logger logger = LoggerFactory.getLogger(TestMain.class);

    public static void main(String[] args) {
        log.error("今天你吃饭了吗");
        log.info("info日志");
        log.trace("track 日志");
        log.debug("debug 日志");
        log.warn("warn 日志");
        log.fatal("fatal 日志");
//        String username = "李四";
//        String password = "123456";
//
//        logger.error("收到的用户名是:{},密码是:{}", username, password);

    }

}
